package com.nbclass.controller;

import com.nbclass.domain.PageResult;
import com.nbclass.service.ICheckStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;


@Controller
public class CheckStudentController {
    @Autowired
    private ICheckStudentService checkStudentService;

    @RequestMapping("/checkCardInfo")
    @ResponseBody
    public PageResult checkCardInfo(@RequestBody Map<String, String> map) {

        return checkStudentService.selectStudentCardStatus(map);
    }
}
